package com.ruoyi.lendmoney.domain;

import lombok.Data;
import nonapi.io.github.classgraph.json.Id;
import org.springframework.data.annotation.Transient;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class LoanPersonTable {
    @Id
    private Integer id;
    //车辆名称
    private String carName;
    //品牌
    private String carBrand;
    //类型
    private String carType;
    //首付比例
    private Integer downPayment;
    //首付金额
    private BigDecimal downMoney;
    //还款方式
    private Integer repayWay;
    //车辆金额
    private BigDecimal borrowingBalance;
    //手续费
    private BigDecimal serviceCharge;
    //期数
    private Integer type;
    //利率
    private BigDecimal interestRates;
    //逾期利率
    private BigDecimal overdueInterestRate;
    //还款总金额
    private BigDecimal repaymentPrice;
    //手续费
    private BigDecimal settlementCharge;
    //贷款表标识
    private String applyForLoanCoded;
    //贷款人标识
    private String userCode;
    //订单创建时间
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Integer isDelete;

    //贷款人姓名
    @Transient
    private String username;
}
